package com.demo.richText.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description 保存文章
 * @Author 小乌龟
 * @Date 2022/9/5 8:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="保存文章", description="")
public class ToSaveArticle {
    @ApiModelProperty("文章名称")
    @NotBlank(message = "文章名称不可为空")
    private String articleName;

    @ApiModelProperty("文章作者")
    @NotBlank(message = "文章作者不可为空")
    private String articleAuthor;


    @ApiModelProperty("文章内容")
    @NotBlank(message = "文章内容不可为空")
    private String articleContent;

    @ApiModelProperty("文章文件")
    private List<String> articleFileUrl;



}
